package top.healthylife.gateway.platform.jg.api.api;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.healthylife.gateway.core.service.ParentFace;
import top.healthylife.gateway.dto.annotation.ApiServiceExplain;
import top.healthylife.gateway.platform.jg.api.util.JGHttpUtil;
import top.healthylife.gateway.platform.jg.dto.iaudience.req.JGReqIauDienceDto;
import top.healthylife.gateway.platform.jg.dto.iaudience.res.JGResIauDienceDto;

/**
 * 极光iAudiences 基础标签
 * @author gwx
 * @date 2021/9/6
 */
@Slf4j
@Service
@ApiServiceExplain(price = 20 , apiName = "iAudiences基础标签V5" , info = "iAudiences基础标签V5")
public class JGIaudienceApi implements ParentFace<JGReqIauDienceDto, JGResIauDienceDto> {

    private static final String API_NAME = "/v5/finance/users";

    @Override
    public JGResIauDienceDto execute(JGReqIauDienceDto reqDto){
        return JGHttpUtil.httpGetRequest(reqDto,API_NAME, JGResIauDienceDto.class);
    }
}
